package com.usian.article.mapper

import com.baomidou.mybatisplus.core.mapper.BaseMapper
import com.usian.model.article.dtos.ArticleHomeDto
import com.usian.model.article.pojos.ApArticle
import org.apache.ibatis.annotations.Param
import org.mapstruct.Mapper

@Mapper
interface ApArticleMapper :BaseMapper<ApArticle> {
    fun loadArticleList(@Param("dto") dto: ArticleHomeDto,@Param("type")  type: Short):List<ApArticle>

}